<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>float</title>
    <style>
        /* img{
            float: left;
        } */
        div{
            width: 100px;
            height: 100px;
            background-color: red;
            margin: 10px;
        }
        span{
            width: 100px;
            height: 100px;
            background-color:blue;
            margin: 10px;
        }
        div:nth-child(2){
            float: left;
            background-color: blueviolet;
            margin-left: 120px;
            margin-top: -110px;
        }
        span{
            float: left;
        }
    </style>
</head>
<body>
    <div>div1</div>
    <div>div2</div>
    <div>div3</div>
    <span class="one">span1</span>
    <span>span2</span>
    <span>span3</span>
    <!-- <img src="./001.jpg" alt="" width="200px" height="200px">我是胡图图 -->
</body>
</html>